package com.ljf.spring.token;

import com.ljf.framework.security.token.LjfTokenConfig;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Bean;

/**
 * 说明：token注册
 *
 * @Auther: lijinfeng
 * @Date: 2024/4/24
 */
public class TokenBeanRegister {
    /**
     * 获取 token 配置Bean
     * @return 配置对象
     */
    @Bean
    @ConfigurationProperties(prefix = "ljf.token")
    public LjfTokenConfig getLjfTokenConfig() {
        return new LjfTokenConfig();
    }


}
